package com.jhx.mall.dao.impl;

import com.jhx.mall.dao.BaseDao;
import com.jhx.mall.dao.DtsFootprintDao;
import com.jhx.mall.entity.DtsFootprint;

/**
 * @Description TODO
 * @Author 李琪
 * @Date 2025/3/31 15:58
 **/
public class DtsFootprintDaoImpl extends BaseDao implements DtsFootprintDao {
    @Override
    public int insertFootprint(Long userId,Long goodsId) {
        String sql="insert into dts_footprint(user_id,goods_id,add_time) values(?,?,NOW())";
        return super.executeUpdate(sql,userId,goodsId);
    }
}
